package process.model;

/**
 * @author tvo35
 * 
 */

public class SimpleAnnotation {
	private int matchedRegionStart;
	private int matchedRegionEnd;
	private String matchedString;
	private double distance;
	private double normalizedDistance;

	public SimpleAnnotation(int matchedRegionStart, int matchedRegionEnd,
			String matchedString, double distance, double normalizedDistance) {
		this.matchedRegionStart = matchedRegionStart;
		this.matchedRegionEnd = matchedRegionEnd;
		this.matchedString = matchedString;
		this.distance = distance;
		this.normalizedDistance = normalizedDistance;
	}

	public int getMatchedRegionStart() {
		return matchedRegionStart;
	}

	public void setMatchedRegionStart(int matchedRegionStart) {
		this.matchedRegionStart = matchedRegionStart;
	}

	public int getMatchedRegionEnd() {
		return matchedRegionEnd;
	}

	public void setMatchedRegionEnd(int matchedRegionEnd) {
		this.matchedRegionEnd = matchedRegionEnd;
	}

	public String getMatchedString() {
		return matchedString;
	}

	public void setMatchedString(String matchedString) {
		this.matchedString = matchedString;
	}

	public double getDistance() {
		return distance;
	}

	public void setDistance(double distance) {
		this.distance = distance;
	}

	public double getNormalizedDistance() {
		return normalizedDistance;
	}

	public void setNormalizedDistance(double normalizedDistance) {
		this.normalizedDistance = normalizedDistance;
	}
	
	@Override
	public String toString() {
		return matchedString + "  " +normalizedDistance + "  "
				+ (matchedRegionStart) + "  " + (matchedRegionEnd);
	}
}
